class Conversation < ActiveRecord::Base
  belongs_to :user
  belongs_to :contact
  belongs_to :customer
  
  def after_initialize
    self.follow_up_date ||= Date.today + 2.weeks;
  end
  
  def content_in_paragraphs
    self.content.gsub(/^\s*$/, "</p><p>")
  end
  
end
